package cn.luischen.controller.admin;

import org.springframework.web.bind.annotation.RequestParam;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import cn.luischen.controller.BaseController;
import org.apache.commons.lang3.StringUtils;
import io.swagger.annotations.ApiOperation;
import cn.luischen.dto.StatisticsDto;
import cn.luischen.service.user.UserService;
import javax.servlet.http.HttpSession;
import cn.luischen.service.site.SiteService;
import org.springframework.web.bind.annotation.PostMapping;
import cn.luischen.model.CommentDomain;
import com.github.pagehelper.PageInfo;
import cn.luischen.model.LogDomain;
import cn.luischen.utils.GsonUtils;
import com.unitspirit.sample.cmbchina.UserServiceImpl2;
import cn.luischen.model.ContentDomain;
import cn.luischen.constant.LogActions;
import cn.luischen.model.UserDomain;
import cn.luischen.service.log.LogService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import javax.servlet.http.HttpServletRequest;
import cn.luischen.utils.APIResponse;
import org.springframework.web.bind.annotation.GetMapping;
import io.swagger.annotations.Api;
import cn.luischen.utils.TaleUtils;
import org.slf4j.Logger;
import org.springframework.web.bind.annotation.ResponseBody;
import cn.luischen.exception.BusinessException;
import cn.luischen.constant.WebConst;

import static org.junit.Assert.fail;
import org.mockito.MockitoAnnotations;
import org.junit.After;
import java.util.Map;
import java.lang.reflect.Method;
import static org.junit.Assert.*;
import java.util.List;
import com.alibaba.fastjson.TypeReference;
import static org.junit.Assert.assertNotNull;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
import org.powermock.reflect.Whitebox;
import org.mockito.Mock;
import org.junit.runner.RunWith;
import java.util.HashMap;
import java.util.ArrayList;
import com.alibaba.fastjson.JSONArray;
import org.powermock.core.classloader.annotations.PrepareForTest;
import static org.junit.Assert.assertEquals;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.junit.rules.ExpectedException;
import org.mockito.InjectMocks;
import org.junit.Test;
import com.unitspirit.runtime.*;
import org.mockito.Mockito;
import com.alibaba.fastjson.JSON;
import org.junit.Rule;
import static org.junit.Assert.assertTrue;
import com.alibaba.fastjson.parser.ParserConfig;

/**
* The class <code>IndexControllerTest</code> contains tests for the class <code>{@link IndexController}</code>.
* Copyright (c) 2020
* 
* @generatedBy UnitSpirit at 2021-09-07 17:51:36
* @version 1.0.20210903
*/

@PowerMockIgnore({ "javax.management.*" })
public class IndexController_index_WGTest {

	@InjectMocks
	cn.luischen.controller.admin.IndexController unitspirit_fixture;
	@Mock
	cn.luischen.service.user.UserService mock_UserService;
	@Mock
	cn.luischen.service.site.SiteService mock_SiteService;
	@Mock
	cn.luischen.service.log.LogService mock_LogService;

	@Rule
	public ExpectedException unitspirit_thrown = ExpectedException.none();

	/**
	* 测试方法初始化.
	* 
	* @throws Exception 
	*         if the initialization fails for some reason 
	*  
	* @generatedBy UnitSpirit at 2021-09-07 17:51:36
	*/
	@org.junit.Before
	public void setUp() throws Exception {
		try {
			GlobalUnitInit.init();
			MockitoAnnotations.initMocks(this);
			ParserConfig.getGlobalInstance().setAutoTypeSupport(true);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

	/**
	* @date 2021-09-07 17:51:37
	* @see cn.luischen.controller.admin.IndexController#index
	* @category auto generate by UnitSpirit  
	* @author UnitSpirit   
	*/
	@Test
	public void test_index_0113_190013_782_1_02() throws Throwable {
		//被测函数参数定义
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_0 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		//成员变量设置

		ThreadLocal<Long> m_un_startTime = new ThreadLocal<>();
		m_un_startTime.set(1L);
		Whitebox.setInternalState(unitspirit_fixture, "startTime", m_un_startTime);
		//返回值定义 
		String result_expected = "\"admin/index\"";

		java.util.List<cn.luischen.model.CommentDomain> mock_result_Page8 = JSON.parseArray("[]",
				cn.luischen.model.CommentDomain.class);
		java.util.List<cn.luischen.model.ContentDomain> mock_result_Page7 = JSON.parseArray("[]",
				cn.luischen.model.ContentDomain.class);
		cn.luischen.dto.StatisticsDto mock_result_StatisticsDto6 = JSON.parseObject(
				"{\"articles\":0,\"attachs\":0,\"comments\":0,\"links\":0}", cn.luischen.dto.StatisticsDto.class);
		com.github.pagehelper.PageInfo mock_result_PageInfo5 = JSON.parseObject(
				"{\"endRow\":5,\"hasNextPage\":true,\"hasPreviousPage\":false,\"isFirstPage\":true,\"isLastPage\":false,\"list\":[{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610535612,\"id\":82,\"ip\":\"127.0.0.1\"},{\"action\":\"修改密码\",\"authorId\":1,\"created\":1610529727,\"id\":81,\"ip\":\"127.0.0.1\"},{\"action\":\"修改个人信息\",\"authorId\":1,\"created\":1610529720,\"data\":\"{\\\"uid\\\":1,\\\"password\\\":\\\"111111\\\",\\\"email\\\":\\\"1034683568@qq.com\\\",\\\"screenName\\\":\\\"admin1\\\"}\",\"id\":80,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529595,\"id\":79,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529592,\"id\":78,\"ip\":\"127.0.0.1\"}],\"navigateFirstPage\":1,\"navigateLastPage\":2,\"navigatePages\":8,\"navigatepageNums\":[1,2],\"nextPage\":2,\"pageNum\":1,\"pageSize\":5,\"pages\":2,\"prePage\":0,\"size\":5,\"startRow\":1,\"total\":6}",
				com.github.pagehelper.PageInfo.class);
		String Stringrepeat_mock4_0 = "comments";
		Object Objectrepeat_mock4_1 = "[]";
		String Stringrepeat_mock3_0 = "articles";
		Object Objectrepeat_mock3_1 = "[]";
		String Stringrepeat_mock2_0 = "statistics";
		Object Objectrepeat_mock2_1 = null;
		String Stringrepeat_mock1_0 = "logs";
		Object Objectrepeat_mock1_1 = null;

		PowerMockito.when(mock_SiteService.getComments(Mockito.anyInt())).thenReturn(mock_result_Page8);
		PowerMockito.when(mock_SiteService.getNewArticles(Mockito.anyInt())).thenReturn(mock_result_Page7);
		PowerMockito.when(mock_SiteService.getStatistics()).thenReturn(mock_result_StatisticsDto6);
		PowerMockito.when(mock_LogService.getLogs(Mockito.anyInt(), Mockito.anyInt()))
				.thenReturn(mock_result_PageInfo5);

		String unitspirit_result = unitspirit_fixture.index(HttpServletRequest_p_0);
		//getAssertCase 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	* @date 2021-09-07 17:51:37
	* @see cn.luischen.controller.admin.IndexController#index
	* @category auto generate by UnitSpirit  
	* @author UnitSpirit   
	*/
	@Test
	public void test_index_0113_190013_782_1_01() throws Throwable {
		//被测函数参数定义
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_0 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		//成员变量设置

		ThreadLocal<Long> m_un_startTime = new ThreadLocal<>();
		m_un_startTime.set(1L);
		Whitebox.setInternalState(unitspirit_fixture, "startTime", m_un_startTime);
		//返回值定义 
		String result_expected = "\"admin/index\"";

		java.util.List<cn.luischen.model.CommentDomain> mock_result_Page8 = JSON.parseArray("[]",
				cn.luischen.model.CommentDomain.class);
		java.util.List<cn.luischen.model.ContentDomain> mock_result_Page7 = JSON.parseArray("[]",
				cn.luischen.model.ContentDomain.class);
		cn.luischen.dto.StatisticsDto mock_result_StatisticsDto6 = JSON.parseObject(
				"{\"articles\":0,\"attachs\":0,\"comments\":0,\"links\":0}", cn.luischen.dto.StatisticsDto.class);
		com.github.pagehelper.PageInfo mock_result_PageInfo5 = JSON.parseObject(
				"{\"endRow\":5,\"hasNextPage\":true,\"hasPreviousPage\":false,\"isFirstPage\":true,\"isLastPage\":false,\"list\":[{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610535612,\"id\":82,\"ip\":\"127.0.0.1\"},{\"action\":\"修改密码\",\"authorId\":1,\"created\":1610529727,\"id\":81,\"ip\":\"127.0.0.1\"},{\"action\":\"修改个人信息\",\"authorId\":1,\"created\":1610529720,\"data\":\"{\\\"uid\\\":1,\\\"password\\\":\\\"111111\\\",\\\"email\\\":\\\"1034683568@qq.com\\\",\\\"screenName\\\":\\\"admin1\\\"}\",\"id\":80,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529595,\"id\":79,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529592,\"id\":78,\"ip\":\"127.0.0.1\"}],\"navigateFirstPage\":1,\"navigateLastPage\":2,\"navigatePages\":8,\"navigatepageNums\":[1,2],\"nextPage\":2,\"pageNum\":1,\"pageSize\":5,\"pages\":2,\"prePage\":0,\"size\":5,\"startRow\":1,\"total\":6}",
				com.github.pagehelper.PageInfo.class);
		String Stringrepeat_mock4_0 = "comments";
		Object Objectrepeat_mock4_1 = "[]";
		String Stringrepeat_mock3_0 = "articles";
		Object Objectrepeat_mock3_1 = "[]";
		String Stringrepeat_mock2_0 = "statistics";
		Object Objectrepeat_mock2_1 = null;
		String Stringrepeat_mock1_0 = "logs";
		Object Objectrepeat_mock1_1 = null;

		PowerMockito.when(mock_SiteService.getComments(Mockito.anyInt())).thenReturn(mock_result_Page8);
		PowerMockito.when(mock_SiteService.getNewArticles(Mockito.anyInt())).thenReturn(mock_result_Page7);
		PowerMockito.when(mock_SiteService.getStatistics()).thenReturn(mock_result_StatisticsDto6);
		PowerMockito.when(mock_LogService.getLogs(Mockito.anyInt(), Mockito.anyInt()))
				.thenReturn(mock_result_PageInfo5);

		String unitspirit_result = unitspirit_fixture.index(HttpServletRequest_p_0);
		//getAssertCase 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	* @date 2021-09-07 17:51:37
	* @see cn.luischen.controller.admin.IndexController#index
	* @category auto generate by UnitSpirit  
	* @author UnitSpirit   
	*/
	@Test
	public void test_index_0113_190013_782_2_02() throws Throwable {
		//被测函数参数定义
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_0 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		//成员变量设置

		ThreadLocal<Long> m_un_startTime = new ThreadLocal<>();
		m_un_startTime.set(1L);
		Whitebox.setInternalState(unitspirit_fixture, "startTime", m_un_startTime);
		//返回值定义 
		String result_expected = "\"admin/index\"";

		java.util.List<cn.luischen.model.CommentDomain> mock_result_Page8 = JSON.parseArray("[]",
				cn.luischen.model.CommentDomain.class);
		java.util.List<cn.luischen.model.ContentDomain> mock_result_Page7 = JSON.parseArray("[]",
				cn.luischen.model.ContentDomain.class);
		cn.luischen.dto.StatisticsDto mock_result_StatisticsDto6 = JSON.parseObject(
				"{\"articles\":0,\"attachs\":0,\"comments\":0,\"links\":0}", cn.luischen.dto.StatisticsDto.class);
		com.github.pagehelper.PageInfo mock_result_PageInfo5 = JSON.parseObject(
				"{\"endRow\":5,\"hasNextPage\":true,\"hasPreviousPage\":false,\"isFirstPage\":true,\"isLastPage\":false,\"list\":[{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610535612,\"id\":82,\"ip\":\"127.0.0.1\"},{\"action\":\"修改密码\",\"authorId\":1,\"created\":1610529727,\"id\":81,\"ip\":\"127.0.0.1\"},{\"action\":\"修改个人信息\",\"authorId\":1,\"created\":1610529720,\"data\":\"{\\\"uid\\\":1,\\\"password\\\":\\\"111111\\\",\\\"email\\\":\\\"1034683568@qq.com\\\",\\\"screenName\\\":\\\"admin1\\\"}\",\"id\":80,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529595,\"id\":79,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529592,\"id\":78,\"ip\":\"127.0.0.1\"}],\"navigateFirstPage\":1,\"navigateLastPage\":2,\"navigatePages\":8,\"navigatepageNums\":[1,2],\"nextPage\":2,\"pageNum\":1,\"pageSize\":5,\"pages\":2,\"prePage\":0,\"size\":5,\"startRow\":1,\"total\":6}",
				com.github.pagehelper.PageInfo.class);
		String Stringrepeat_mock4_0 = "comments";
		Object Objectrepeat_mock4_1 = "[]";
		String Stringrepeat_mock3_0 = "articles";
		Object Objectrepeat_mock3_1 = "[]";
		String Stringrepeat_mock2_0 = "statistics";
		Object Objectrepeat_mock2_1 = null;
		String Stringrepeat_mock1_0 = "logs";
		Object Objectrepeat_mock1_1 = null;

		PowerMockito.when(mock_SiteService.getComments(Mockito.anyInt())).thenReturn(mock_result_Page8);
		PowerMockito.when(mock_SiteService.getNewArticles(Mockito.anyInt())).thenReturn(mock_result_Page7);
		PowerMockito.when(mock_SiteService.getStatistics()).thenReturn(mock_result_StatisticsDto6);
		PowerMockito.when(mock_LogService.getLogs(Mockito.anyInt(), Mockito.anyInt()))
				.thenReturn(mock_result_PageInfo5);

		String unitspirit_result = unitspirit_fixture.index(HttpServletRequest_p_0);
		//getAssertCase 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	* @date 2021-09-07 17:51:37
	* @see cn.luischen.controller.admin.IndexController#index
	* @category auto generate by UnitSpirit  
	* @author UnitSpirit   
	*/
	@Test
	public void test_index_0113_190013_782_2_01() throws Throwable {
		//被测函数参数定义
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_0 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		//成员变量设置

		ThreadLocal<Long> m_un_startTime = new ThreadLocal<>();
		m_un_startTime.set(1L);
		Whitebox.setInternalState(unitspirit_fixture, "startTime", m_un_startTime);
		//返回值定义 
		String result_expected = "\"admin/index\"";

		java.util.List<cn.luischen.model.CommentDomain> mock_result_Page8 = JSON.parseArray("[]",
				cn.luischen.model.CommentDomain.class);
		java.util.List<cn.luischen.model.ContentDomain> mock_result_Page7 = JSON.parseArray("[]",
				cn.luischen.model.ContentDomain.class);
		cn.luischen.dto.StatisticsDto mock_result_StatisticsDto6 = JSON.parseObject(
				"{\"articles\":0,\"attachs\":0,\"comments\":0,\"links\":0}", cn.luischen.dto.StatisticsDto.class);
		com.github.pagehelper.PageInfo mock_result_PageInfo5 = JSON.parseObject(
				"{\"endRow\":5,\"hasNextPage\":true,\"hasPreviousPage\":false,\"isFirstPage\":true,\"isLastPage\":false,\"list\":[{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610535612,\"id\":82,\"ip\":\"127.0.0.1\"},{\"action\":\"修改密码\",\"authorId\":1,\"created\":1610529727,\"id\":81,\"ip\":\"127.0.0.1\"},{\"action\":\"修改个人信息\",\"authorId\":1,\"created\":1610529720,\"data\":\"{\\\"uid\\\":1,\\\"password\\\":\\\"111111\\\",\\\"email\\\":\\\"1034683568@qq.com\\\",\\\"screenName\\\":\\\"admin1\\\"}\",\"id\":80,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529595,\"id\":79,\"ip\":\"127.0.0.1\"},{\"action\":\"登录后台\",\"authorId\":1,\"created\":1610529592,\"id\":78,\"ip\":\"127.0.0.1\"}],\"navigateFirstPage\":1,\"navigateLastPage\":2,\"navigatePages\":8,\"navigatepageNums\":[1,2],\"nextPage\":2,\"pageNum\":1,\"pageSize\":5,\"pages\":2,\"prePage\":0,\"size\":5,\"startRow\":1,\"total\":6}",
				com.github.pagehelper.PageInfo.class);
		String Stringrepeat_mock4_0 = "comments";
		Object Objectrepeat_mock4_1 = "[]";
		String Stringrepeat_mock3_0 = "articles";
		Object Objectrepeat_mock3_1 = "[]";
		String Stringrepeat_mock2_0 = "statistics";
		Object Objectrepeat_mock2_1 = null;
		String Stringrepeat_mock1_0 = "logs";
		Object Objectrepeat_mock1_1 = null;

		PowerMockito.when(mock_SiteService.getComments(Mockito.anyInt())).thenReturn(mock_result_Page8);
		PowerMockito.when(mock_SiteService.getNewArticles(Mockito.anyInt())).thenReturn(mock_result_Page7);
		PowerMockito.when(mock_SiteService.getStatistics()).thenReturn(mock_result_StatisticsDto6);
		PowerMockito.when(mock_LogService.getLogs(Mockito.anyInt(), Mockito.anyInt()))
				.thenReturn(mock_result_PageInfo5);

		String unitspirit_result = unitspirit_fixture.index(HttpServletRequest_p_0);
		//getAssertCase 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}

	/**
	* @date 2021-09-07 17:51:37
	* @see cn.luischen.controller.admin.IndexController#index
	* @category auto generate by UnitSpirit  
	* @author UnitSpirit   
	*/
	@Test
	public void test_index_20210722_100105_570_2_01() throws Throwable {
		//被测函数参数定义
		javax.servlet.http.HttpServletRequest HttpServletRequest_p_0 = Mockito
				.mock(javax.servlet.http.HttpServletRequest.class);
		//成员变量设置
		Whitebox.setInternalState(unitspirit_fixture, "iCount", 1);

		ThreadLocal<Long> m_un_startTime = new ThreadLocal<>();
		m_un_startTime.set(1L);
		Whitebox.setInternalState(unitspirit_fixture, "startTime", m_un_startTime);
		//返回值定义 
		String result_expected = "admin/index";

		java.util.List<cn.luischen.model.CommentDomain> mock_result_Page4 = JSON.parseArray("[]",
				cn.luischen.model.CommentDomain.class);
		java.util.List<cn.luischen.model.ContentDomain> mock_result_Page3 = JSON.parseArray(
				"[{\"created\":1616027687,\"allowComment\":1,\"title\":\"test5\",\"type\":\"photo\",\"content\":\"test5test5\",\"modified\":0,\"cid\":6,\"status\":\"publish\"},{\"created\":1607004465,\"allowComment\":1,\"title\":\"test3\",\"type\":\"post\",\"content\":\"test3\",\"tags\":\"test3\",\"modified\":0,\"categories\":\"默认分类\",\"cid\":4,\"status\":\"publish\"},{\"created\":1606984674,\"allowComment\":1,\"title\":\"test3\",\"type\":\"post\",\"content\":\"test3\r\ntest3\",\"tags\":\"test3\",\"modified\":0,\"categories\":\"默认分类\",\"cid\":3,\"status\":\"publish\"},{\"created\":1606983696,\"allowComment\":1,\"title\":\"test2\",\"type\":\"post\",\"content\":\"test2\r\ntest2\",\"tags\":\"test2\",\"modified\":1606983708,\"categories\":\"test1\",\"cid\":2,\"status\":\"publish\"}]",
				cn.luischen.model.ContentDomain.class);
		cn.luischen.dto.StatisticsDto mock_result_StatisticsDto2 = JSON.parseObject(
				"{\"attachs\":0,\"comments\":0,\"links\":3,\"articles\":4}", cn.luischen.dto.StatisticsDto.class);
		com.github.pagehelper.PageInfo mock_result_PageInfo1 = JSON.parseObject(
				"{\"lastPage\":8,\"navigatepageNums\":[1,2,3,4,5,6,7,8],\"startRow\":1,\"hasNextPage\":true,\"prePage\":0,\"nextPage\":2,\"endRow\":5,\"pageSize\":5,\"list\":[{\"created\":1626919265,\"ip\":\"127.0.0.1\",\"action\":\"登录后台\",\"id\":402,\"authorId\":1},{\"data\":\"{\\\"site_record\\\":\\\"222\\\",\\\"google_site_verification\\\":\\\"111\\\",\\\"site_description\\\":\\\"erer\\\",\\\"baidu_site_verification\\\":\\\"123\\\",\\\"site_title\\\":\\\"11122211\\\",\\\"allow_install\\\":\\\"\\\"}\",\"created\":1626916317,\"ip\":\"127.0.0.1\",\"action\":\"保存系统设置\",\"id\":401,\"authorId\":1},{\"created\":1626916311,\"ip\":\"127.0.0.1\",\"action\":\"登录后台\",\"id\":400,\"authorId\":1},{\"data\":\"{\\\"site_record\\\":\\\"222\\\",\\\"google_site_verification\\\":\\\"111\\\",\\\"site_description\\\":\\\"erer\\\",\\\"baidu_site_verification\\\":\\\"123\\\",\\\"site_title\\\":\\\"111222\\\",\\\"allow_install\\\":\\\"\\\"}\",\"created\":1626878146,\"ip\":\"127.0.0.1\",\"action\":\"保存系统设置\",\"id\":399,\"authorId\":1},{\"created\":1626878140,\"ip\":\"127.0.0.1\",\"action\":\"登录后台\",\"id\":398,\"authorId\":1}],\"pageNum\":1,\"navigatePages\":8,\"navigateFirstPage\":1,\"total\":326,\"pages\":66,\"firstPage\":1,\"size\":5,\"isLastPage\":false,\"hasPreviousPage\":false,\"navigateLastPage\":8,\"isFirstPage\":true}",
				com.github.pagehelper.PageInfo.class);

		PowerMockito.when(mock_SiteService.getComments(Mockito.anyInt())).thenReturn(mock_result_Page4);
		PowerMockito.when(mock_SiteService.getNewArticles(Mockito.anyInt())).thenReturn(mock_result_Page3);
		PowerMockito.when(mock_SiteService.getStatistics()).thenReturn(mock_result_StatisticsDto2);
		PowerMockito.when(mock_LogService.getLogs(Mockito.anyInt(), Mockito.anyInt()))
				.thenReturn(mock_result_PageInfo1);

		String unitspirit_result = unitspirit_fixture.index(HttpServletRequest_p_0);
		//getAssertCase 
		UnitAssert.assertEquals(result_expected, unitspirit_result);
	}
}
